package com.core.var;

/**
 * 全局变量映射
 * @author Krystal1
 * @Title:javaWebSpider
 * @date 2022/1/16 -16:30
 */

import org.springframework.stereotype.Component;

@Component
public class Constants {

    /**成功码*/
    public static final String SUCCESS_CODE = "000000";
    /**失败码*/
    public static final String FAIL_CODE = "999999";
    /**爬虫成功码*/
    public static final String CRAWL_SUCCESS_CODE = "000001";
    /**爬虫失败码*/
    public static final String CRAWL_FAIL_CODE = "999998";
    /**本地数据无需更新*/
    public static final String NO_NEED_UPDATE = "100000";

    /**清空表出现异常*/
    public static final String TRUNCATE_ERROR = "999997";


}
